package com.aaa.service.impl;

import com.aaa.dao.S_CheckDao;
import com.aaa.service.S_CheckService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class S_CheckServiceImpl implements S_CheckService {

    @Autowired
    private S_CheckDao dao;

    @Override
    public int pass(Integer id) {
        return  dao.pass(id);
    }

    @Override
    public int reject(Integer id) {
        return  dao.reject(id);
    }

    @Override
    public List<Map> selNews(Map map) {
        return dao.selNews(map);
    }

    @Override
    public Integer getCount(Map map) {
        return dao.getCount(map);
    }

    @Override
    public List<Map> selName() {
        return dao.selName();
    }
}
